package com.zekdot.aptgateway.util;

import io.jsonwebtoken.Claims;

/**
 * Create by zekdot on 20-3-17.
 */
public class CheckResult {
    public static int JWT_ERRCODE_EXPIRE = 1;
    public static int JWT_ERRCODE_FAIL = 2;
    private boolean success;
    private Claims claims;
    private int errCode;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public Claims getClaims() {
        return claims;
    }

    public void setClaims(Claims claims) {
        this.claims = claims;
    }
}
